package com.engine4cloud.tdf.supervision.dto.update;

import com.engine4cloud.tdf.common.core.constant.enums.SimpleAuditActionStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "审批事项-状态-请求对象")
public class SpSimplePreActionUpdateDTO implements Serializable {
    /**
     * 调查评估编号
     */
    @Schema(description = "人员编号", example = "123456789")
    @NotBlank(message = "人员编号不能为空")
    private String rybh;

    /**
     * 流程编号
     */
    @Schema(description = "流程编号", example = "2277744445")
    @NotBlank(message = "流程编号不能为空")
    private String lcbh;

    /**
     * 审核动作
     */
    @Schema(description = "审核动作", example = "AUTHORIZE")
    @NotNull(message = "审核动作不能为空")
    SimpleAuditActionStatusEnum action;
}
